/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.hro.mobiqueen.data.objects;

import nl.hro.mobiqueen.R;

/**
 *
 * @author DJanjicek
 */
public class GenreHelper {

    public static int getMarkerByGenre(String genre) {

        int id;

        if (genre.equalsIgnoreCase("rock")) {
            id = R.drawable.genre_color_red;
        } else if (genre.equalsIgnoreCase("pop")) {
            id = R.drawable.genre_color_blue;
        } else if (genre.equalsIgnoreCase("dance")) {
            id = R.drawable.genre_color_purple;
        } else if (genre.equalsIgnoreCase("hiphop")) {
            id = R.drawable.genre_color_yellow;
        } else {
            id = R.drawable.genre_color_orange;
        }

        return id;
    }

    public static int getBackground(String genre) {

        int id;

        if (true) {
            id = R.drawable.genre_color_orange;
        } else {
            id = R.drawable.event_background;
        }

        return id;
    }
}
